Mapping 32-bit Parameters and Endian

Many of the AKD2G drive parameters are 32-bits. Use two 16-bit Modbus registers in contiguous addresses to access a 32-bit parameter.

For example to map AXIS1.PL.FB two addresses need to be mapped to the same parameter.

-->MODBUS.MAP 40005 AXIS1.PL.FB
-->MODBUS.MAP 40006 AXIS1.PL.FB
-->

By default, all accesses are big endian so the high word is in the lower address. This example demonstrates how the data is arranged if AXIS.PL.FB is 360.

Modbus

Address

MODBUS.MAP

MODBUS.DATA

 

40005

AXIS1.PL.FB

0

High word

40006

AXIS1.PL.FB

360

Low word

To switch to little endian set MODBUS.ENDIAN to 1.

--> MODBUS.ENDIAN 1 
-->

The data in the two addresses now has the low word in the lower address.

Modbus

Address

MODBUS.MAP

MODBUS.DATA

 

40005

AXIS1.PL.FB

360

Low word

40006

AXIS1.PL.FB

0

High word

If only one register is mapped for a 32-bit parameter then its only possible to read or write to the lower 16-bits of the parameter.